﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace Eniux.Windows.Dock
{
    /// <summary>
    /// 停靠接口
    /// </summary>
    interface IDockableControl
    {
        /// <summary>
        /// 获取是否停靠
        /// </summary>
        bool IsDocked { get; }
    }

    /// <summary>
    /// 拖拽接口
    /// </summary>
    internal interface IDropSurface
    {

        bool IsSurfaceVisible { get; }

        /// <summary>
        /// 获取目标区域
        /// </summary>
        Rect SurfaceRectangle { get; }

        void OnDragEnter(Point point);

        void OnDragOver(Point point);

        void OnDragLeave(Point point);

        bool OnDrop(Point point);
    }
}
